<div ng-controller="institutionCtrl">
	
<!-- contain BEGIN -->
    <div class="right-product right-full animate-time" ng-class="{ true: 'right-full', false: 'right-off' }[isActive]">
        <div class="center-back right-back">
            
        <!-- 顶部导航 BEGIN -->
            <ul class="breadcrumb">
                <li>
                    <a href="#">
                        <i class="glyphicon glyphicon-home"></i>
                    </a>
                    <span class="divider">&nbsp;</span>
                </li>
                <li>
                    <a href="#">功能管理</a>
                    <span class="divider">&nbsp;</span>
                </li>
                <li>
                    <a href="#">分馆管理</a>
                    <span class="divider-last">&nbsp;</span>
                </li>
            </ul>
        <!-- 顶部导航 END -->

            <div class="container-fluid">
                <div class="info-center">
                    
                    <!-- 标题 BEGIN -->
                        <h3 class="page-title">
                            关联资源列表
                        </h3>
                    <!-- 标题 END -->
                    
                    <!-- 角色组列表内容 BEGIN -->
                        <div class="contain">
                            <!-- 操作 BEGIN -->
                                <div class="button-group">
                                    <button type="button" class="btn btn-default btn-md" data-toggle="modal" data-target="#resourceList">
                                        <span class="glyphicon glyphicon-plus"></span>  
                                        新增资源 
                                    </button>
                                    <button type="button" class="btn btn-default btn-md" ng-click="delete($event, $index)" data-toggle="modal" data-target="#delete">
                                        <span class="glyphicon glyphicon-trash"></span>  
                                        批量删除
                                    </button>
                                    <div class="input-group col-md-3 pull-right">
                                        <input type="text" class="form-control" placeholder="请输入需要检索的内容">
                                        <span class="input-group-addon">检索</span>
                                    </div>      
                                </div>
                            <!-- 操作 END -->

                            <div class="clearfix"></div>
                            
                            <!-- 表格内容 BEGIN -->
                                <div class="table-margin">
                                    <table class="table table-bordered table-header">
                                        <thead>
                                            <tr>
                                                <td class="w5 text-center">
                                                    <input type="checkbox" ng-model="master" ng-click="all(bool, tabVal)">
                                                </td>
                                                <td class="w5 text-center">序号</td>
                                                <td class="w10 text-center">关联类型</td>
                                                <td class="w10 text-center">名称</td>
                                                <td class="w10 text-center">资源类型名称</td>
                                                <td class="w10 text-center">出版时间</td>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="text-center">
                                                    <input type="checkbox"  ng-model="bool" ng-checked="master" ng-click="chk(val,bool,$index)">
                                                </td>
                                                <td class="text-center">1</td>
                                                <td class="text-center">2</td>
                                                <td class="text-center">3</td>
                                                <td class="text-center">4</td>
                                                <td class="text-center">5</td>
                                            </tr>
                                            <tr>
                                                <td colspan="12" class="text-center" ng-hide="isNoData">暂无数据</td>
                                            </tr>
                                        </tbody>
                                        <tfoot ng-show="isNoData">
                                            <tr>
                                                <td colspan="12">
                                                    <div class="pull-right">
                                                        <nav>
                                                            <tm-pagination conf="paginationConf"></tm-pagination>
                                                        </nav>
                                                    </div>
                                                </td>
                                            </tr>
                                        </tfoot>
                                    </table>
                                </div>
                            <!-- 表格内容 END -->
                        </div>
                    <!-- 角色组列表内容 BEGIN -->

                </div>
            </div>
        </div>
    </div>
<!-- contain END -->

</div>

<!-- 资源列表 BEGIN -->
    <resource-list></resource-list>
<!-- 资源列表 END -->